|
|
|
|
<Diagram editor>.DiagramInfoXY (Function) In french: <Éditeur de diagrammes>.InfoXY Indicates the presence of a shape at a given position in the Diagram Editor control. let nShapeIndex = DIAGEDT_Diagram.InfoXY(MouseXPos, MouseYPos) gDiag is Diagram <- DIAGEDT_Diagram.Value FOR i = 1 _TO_ gDiag.Shape.Count // Change the opacity of the hovered shape IF nShapeIndex = i THEN gDiag.Shape[nShapeIndex].Opacity = 50 ELSE gDiag.Shape[nShapeIndex].Opacity = 100 END END Syntax
<Result> = <Diagram Editor>.InfoXY(<X> , <Y>)
<Result>: Integer - Index of the shape if there is a shape at the specified position,
- 0 otherwise.
<Diagram Editor>: Control name Name of the Diagram Editor control to use. <X>: Integer X-coordinate of the specified position. <Y>: Integer Y-coordinate of the specified position. Business / UI classification: UI Code
This page is also available for…
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|